package com.qujia.station.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.common.core.domain.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Auther: zxy
 * @Date: 2023/9/4 10:20
 * @Description:
 */

@ApiModel("团队管理Vo")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class TeamManagementVo {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "地区")
    private Integer district;

    /**
     * 地区
     */
    @ApiModelProperty(value = "地区名称")
    private String districtName;

    /**
     * 负责人
     */
    @ApiModelProperty(value = "负责人")
    private String leader;

    @ApiModelProperty(value = "负责人id")
    private Long leaderId;

    /**
     * 团队名称
     */
    @ApiModelProperty(value = "团队名称")
    private String teamName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    //业务员
    @ApiModelProperty(value = "业务员id")
    private String members;

    //业务员信息
    @ApiModelProperty(value = "业务员信息")
    private List<SysUser> memberInfos;

    /**
     * 逻辑删除标志（0未删除 1已删除）
     */
    private Integer status;

}
